Author: Marin Radu
Isolate a unique line from the given text file using regular expressions.
- Regex
grep
Use grep
to exclude lines that match the specific pattern:
grep -E -v '^[A-Z]{4}[a-z]{6}\d[A-Z]\d{2}[a-zA-Z]{6}$' file.txt
You can also use my script: solve.py
Flag:
CSCTF{FGMQzggbiy3E864BQbpr}